|
|
| Menu location |
|---|
| EM → FHPort |
| Workbenches |
| EM |
| Default shortcut |
| E P |
| Introduced in version |
| 0.17 |
| See also |
| EM FHNode, EM FHSegment, EM FHPath, EM FHPlane, EM FHEquiv |
The FHPort tool creates a FastHenry port between two FHNode objects.
FastHenry FHPort
The FHPort object is based on the two existing FHNodes between which it will create a FastHenry port.
Siehe auch: FreeCAD Grundlagen Skripten.
Das Objekt FHPort kann in Makros und von der Python-Konsole aus mit der folgenden Funktion verwendet werden:
port = makeFHPort(nodePos=None,nodeNeg=None,name='FHPort')
FHPort object.nodePos is the positive node FHNode object of the FastHenry port.nodeNeg is the negative node FHNode object of the FastHenry port.name is the name of the objectBeispiel:
import FreeCAD, EM
fhnode_p = EM.makeFHNode(X=1.0,Y=0,Z=0)
fhnode_n = EM.makeFHNode(X=0,Y=1.0,Z=0)
fhport = EM.makeFHPort(fhnode_p, fhnode_n)